package com.seecen.service;

import com.seecen.common.BaseResponse;
import com.seecen.pojo.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author 17549
* @description 针对表【allmaster_order(订单表)】的数据库操作Service
* @createDate 2025-10-21 15:30:48
*/
public interface OrderService extends IService<Order> {

    // 创建订单
    BaseResponse<?> createOrder(Map<String, Object> orderData);

    // 获取订单详情
    BaseResponse<?> getOrderDetail(Long orderId);

    // 更新订单
    BaseResponse<?> updateOrder(Long orderId, Map<String, Object> orderData);

    BaseResponse<?> queryOrder(Long userId);

    BaseResponse<?> deleteOrder(Long orderId);
}
